import type { FireCustomAttributes } from "@lib/types";
import type { JSX } from "solid-js/jsx-runtime";
import type { FormControlSize } from "../types";
import type { ValueAccessor } from "solid-form-context";

export interface FcTextareaProps
    extends Omit<
        JSX.TextareaHTMLAttributes<HTMLTextAreaElement>,
        "value" | "classList"
    >,
    FireCustomAttributes<HTMLTextAreaElement>, ValueAccessor<string> {
    controlSize?: FormControlSize;
    readonlyPlainText?: boolean;
}
